﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using WeifenLuo.WinFormsUI.Docking;

namespace TEdit
{
    public partial class Encoding_Table : DockContent
    {
        public Encoding_Table()
        {
            InitializeComponent();

            listBox1.Items.Add("Ascii\tDec\tHex");
            listBox1.Items.Add("  \t0\t00");
            for (int i = 1; i <= 255; i++)
            {
                if (i != 9)
                    listBox1.Items.Add(" " + (char)i + " \t" + i + "\t" + i.ToString("X"));
                else
                    listBox1.Items.Add(" \t" + i + " \t" + i.ToString("X"));
            }
        }
    }
}
